package com.ujs.statistics.feign;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhangshihao
 * @create 2023-09-04 18:32
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterFeignService {
    @ApiOperation("查询某天的注册人数")
    @GetMapping("/educenter/member/countRegister/{day}")
    Integer countRegister(@PathVariable("day") String day);
}
